home *** CD-ROM | disk | FTP | other *** search
/ HyperLib 1997 Winter - Disc 1 / HYPERLIB-1997-Winter-CD1.ISO.7z / HYPERLIB-1997-Winter-CD1.ISO / オンラインウェア / BUS / DynRisk 68k 4.01 demo.sit / DynRisk-Help.rsrc / TEXT_6522.txt < prev    next >
Text File  |  1996-08-30  |  845b  |  17 lines

  1. Thresh1
  2.  
  3. A simple threshold function. When you use this function, you define a threshold value, and enter this into the 窶彡窶 parameter. If the input value is greater than or equal to the threshold, the output value is equal to the 窶彗窶 parameter. Otherwise, the output value is equal to the 窶彙窶 parameter. 
  4.  
  5. This function is useful for converting a variable to e.g., an indicator. By letting 窶彗窶 be 1 and 窶彙窶 be 0, the output value is the indicator for the event that the input value is greater than or equal to the 窶彡窶 parameter.
  6.  
  7. Note that the 窶彗窶 parameter does not need to be greater than the 窶彙窶 parameter. It is perfectly OK to e.g., let 窶彗窶 be 0 and 窶彙窶 be 1.
  8.  
  9. Default parameter values:
  10.     a = 1, b = 0, c = 1
  11.  
  12. Example:
  13.     a = 10, b = 0.1, c = 8
  14.  
  15.     Input = 5  =>  Output = 0.1
  16.     Input = 9  =>  Output = 10
  17.